const articleType = 0;

 function renderDom(){
  if(articleType === 0 ){
    return <div>无图模式</div>
  }else if(articleType === 1){
    return <div>单图模式</div>
  }else{
    return <div>三图模式</div>
  }
 }


function App() {
  return (
    <div className="App">
      {renderDom()}
    </div>
  );
}

export default App;
